home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d27
/
crtpass.arc
/
README
< prev
Wrap
Text File
|
1991-12-04
|
4KB
|
85 lines
CREATE PASSTHRU SESSION
The two source members CRTPASTHR.CLP and CRTPASTHR.CMD allow AS/400
shops to set up a passthru environment on their system.
The command CRTPASTHR and its CPP of the same name can be run one for
each passthru target machine that you will be dialing into.
Once you've run the command, use the IBM-supplied STRPASTHR command to
begin your passthru session with the other system.
This command is not the end-all, but it does remove most the questions
if this is the first time you've done passthru.
COMMAND SYNTAX:
CRTPASTHR RMTID(remote system name)
RMTLOC(*RMTID/remote location name)
LCLLOC(*NETATR/local location name)
DEVD(*RMTID/APPC device name to create)
CTLD(*RMTID/control name to create)
LIND(*RMTID/line description name to create)
RESOURCE(LIN011/comm-line resource name to use)
LINESPEED(2400/modem speed 600-64000 baud)
AUTODIAL(*YES/does modem have autodial)
PHONE(phone number to dial when passthru started)
EXCHID(05600000/exchange ID for handshaking)
STNADR(01/controller station address)
NBRDEV(*NONE/1,2,3 number of virtual devices to create)
VDEVD(VDSP/virtual device prefix)
VCTLD(*RMTID/virtual controller name)
All parameters except RMTID and PHONE have default values that will most
likely be acceptable. The RMTID parameter is normally the system name
(local location name of the DSPNETA command) of the target system. That
is the system you will be passing through to. The PHONE parameter can
contain the phone number of the target computer's modem.
The following example creates the passthru objects for a passthru
session between a system named Chicago and a system named MAUI. The
system Chicago is the target system. The system MAUI is the source
system.
On the source system in MAUI, the follow command would be run:
CRTPASTHR RMTID(Chicago) NBRDEV(3) PHONE(1,3125551212)
On the target system in Chicago, the following command would be run:
CRTPASTHR RMTID(MAUI) NBRDEV(3) PHONE(1,8085551212)
Now then, these command assume the local location network attribute
is the name of the corresponding city. ==> CHGNETA LCLLOCNAME(Chicago)
Four steps to passthru (on the source system):
1. CRTCLPGM PGM(CRTPASTHR) LOG(*YES)
2. CRTCMD CMD(CRTPASTHR) PGM(CRTPASTHR) MAXPOS(2)
3. CRTPASTHR RMTID(Chicago) LCLLOC(Maui) NBRDEV(3) PHONE(1,3125551212)
4. STRPASTHR RMTLOCNAME(*CNNDEV) CNNDEV(Chicago) VCTL(Chicago)
Four steps to passthru (on the target system):
1. CRTCLPGM PGM(CRTPASTHR) LOG(*YES)
2. CRTCMD CMD(CRTPASTHR) PGM(CRTPASTHR) MAXPOS(2)
3. CRTPASTHR RMTID(MAUI) LCLLOC(CHICAGO) NBRDEV(3) PHONE(1,8085551212)
At this point, the source system can passthru to this system.
If you want to start passthru from the target to the source, run step 4.
4. STRPASTHR RMTLOCNAME(*CNNDEV) CNNDEV(Maui) VCTL(Maui)
NOTE: The VCTL parameter contains the name of a virtual controller on
the target system. For example, if CHICAGO's system had a virtual
controller named Chicago (which they would if they used these commands,)
the VCTL parameter of the STRPASTHR command on the MAUI system would be
VCTL(Chicago).
Once the passthru objects have been created, only the STRPASTHR command
is necessary to passthru from one system to another.
ATTENTION: Most frustration arises when (a) the wrong location names
are used and (b) after a failed passthru attempt, a seconded attempt
fails due to the line, device and/or controller needing to be varied off
then varied on.